home *** CD-ROM | disk | FTP | other *** search
/ Joystick Magazine 1996 May / cd joy 71No13.iso / pc / demos / eurosoc / source / menu.cpp < prev    next >
C/C++ Source or Header  |  1996-03-04  |  1KB  |  47 lines

  1. #include <iostream.h>
  2. #include <stdlib.h>
  3. #include <stdio.h>
  4. #include <graph.h>
  5. #include <i86.h>
  6. #include <dos.h>
  7. #include <conio.h>
  8. #include <float.h>
  9. #include <time.h>
  10. #include <math.h>
  11. #include <string.h>
  12.  
  13.     
  14. char    *GetText(int text_number)
  15. {
  16.     return    ("");
  17. }
  18.     
  19.     
  20. char *GetSTRING(int string_type,int array_number)
  21. {
  22.     return("");
  23. }
  24.  
  25.  
  26. int    GetSPRITEnumber(int sprite_type,int number,int LastSpriteNO)
  27. {
  28.     return(0);
  29. }
  30.  
  31. //…ÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕª 
  32. //∫                                                                 ∫
  33. //∫  SetToTEXTmode()                                                         ∫
  34. //∫                                                                                                                              ∫
  35. //∫          Sets video mode to a test mode ready to return back to DOS.                                                      ∫
  36. //∫                                                                 ∫
  37. //»ÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕº 
  38.  
  39. void    SetToTEXTmode()        
  40. {
  41.         union REGS r;
  42.         r.x.eax = 0x0003;
  43.         int386(0x10, &r, &r);
  44. }
  45.  
  46.  
  47.